<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<jsp:directive.page import="com.anhry.app.safety.util.Util"/>
<%@ include file="/WEB-INF/pages/share/taglib.jsp"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>用户添加</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link href="<%=basePath+Util.SKIN%>/css/right.css" type="text/css" rel="stylesheet">
	<script type="text/javascript" src="<%=basePath%>/js/jquery-1.7.2.js"></script>
	<script type="text/javascript" src="<%=basePath%>/js/check_jquery.js"></script>
	<script type="text/javascript">
		function fnCheck(){
			var dbfile=document.getElementById("dbFile");
			if(dbfile.value==null||dbfile.value==""){
				alert("请点击“浏览”上传Excel附件！");
				dbfile.focus();
				return false;
			}
		}
	</script>
  </head>
  
  <body>
	<div  class="body-box">
		<div class="map">
			<div class="map_con">
				您当前的位置：系统管理 &gt; 数据导入
			</div>
			
		</div>
		<div id="container">
			<form action="<%=basePath%>/enterprise/excel_deptSave.action" method="post" name="form1" enctype="multipart/form-data">
		    	<table border="0" cellspacing="0" cellpadding="0"  width="100%" class="info_table">
					<tr>
						<td colspan="2" class="title_li">数据导入</td>
					</tr>
					<tr>
						<td width="15%" class="title_td">源文件：</td>
						<td><input type="file" name="dbFile" id="dbFile" onkeypress="return false;"><span style="color: gray">只能上传excel格式！</span></td>
					</tr>
					<tr>
						<td colspan="2" align="center">
							<center>
							<input type="submit" name="btntj" class="link_input" id="btnSubmit1" value="提 交" onclick="return fnCheck();">
							</center>
						</td>
					</tr>
				</table>
			</form>
		</div>
	</div>
  </body>
  <s:if test="%{tip!=null}">
	<script>
		alert('${tip}');
	</script>
  </s:if>
</html>
